package com.dbz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("warehousing")
public class Warehousing {
    @TableId(type = IdType.AUTO)
    private String wid;//货号
    @TableField(value = "wname")
    private String wname;//商品名称
    @TableField(value = "receipt")
    private String receipt;//单据编号
    @TableField(value = "proguige")
    private  String proguige;//规格
    @TableField(value = "supplierid")
    private String supplierid;//供应商编号
    @TableField(value = "warehousingTime")
    private Date warehousingTime;//进货时间
    @TableField(value = "enterprice")
    private Double enterprice;//进货单价
    @TableField(value = "number")
    private Integer number;//进货数量
    @TableField(value = "prodanwei")
    private String prodanwei;
    @TableField(value = "entermoney")
    private Double entermoney;//总进价
    @TableField(value = "yifumoney")
    private Double yifumoney;//已付金额
    @TableField(value="isruku")
    private  String isruku;//是否入库
    @TableField(value="rukutime")
    private  Date rukutime;//入库时间
    @TableField(value="tuihuitime")
    private  String tuihuitime;//退货时间
    @TableField(value="isbiaoshi")
    private  String isbiaoshi;//标识
    @TableField(exist = false)
    private Supplier supplier;
}
